package com.buddy.syn.block._12;

public class ThreadA extends Thread {

    private StringAndSynService service;

    public ThreadA(StringAndSynService service){
        super();
        this.service = service;
    }

//    public void run(){
//        service.print("AA");
//    }
public void run(){
        service.print(new Object());
    }
}
